const useWinOpen = () => {
  return function (url: string) {
    const base = import.meta.env.VITE_APP_BASE;
    window.open(`${base}#` + url, '_blank');
  };
};
export default useWinOpen;
